<template>
  <div>
    <el-menu
    :default-active="activeIndex"
      mode="horizontal"
     background-color="#FFFFFF"
      text-color="#2C3E50"
      active-text-color="#2777F8"
      router
    >
      <el-menu-item index="/setting/userInfo">修改资料</el-menu-item>
      <el-menu-item index="/setting/password">修改密码</el-menu-item>
    </el-menu>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  data() {
    return {
      activeIndex: "/setting/userInfo",
    };
  },
};
</script>

<style scoped></style>
